package com.ecloud.support.monitor;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import de.codecentric.boot.admin.server.config.EnableAdminServer;

/**
 * 程序主入口类
 *
 * @author LiuGangQiang Create in 2020/02/29
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableAdminServer
public class MonitorAlication {
    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(MonitorAlication.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
    }
}